package com.basker.pisces.core.operator;

import java.util.ArrayList;
import java.util.List;

public class CompareOperatorGroup {
    /**
     * 字符串类型字段条件符号组
     */
    public final static String STRING_OPERATOR = "StringOperator";

    /**
     * 多项字符串符号组
     */
    public static final String MULTI_STRING_OPERATOR = "MultiStringOperator";

    /**
     * 日期类型字段条件符号组
     */
    public final static String DATE_OPERATOR = "DateOperator";

    /**
     * 数字类型字段条件符号组
     */
    public final static String NUMBER_OPERATOR = "NumberOperator";

    /**
     * 多选条件符号组
     */
    public final static String MULTI_OPERATOR = "MultiOperator";

    /**
     * null条件符号组
     */
    public final static String NULL_OPERATOR = "NullOperator";

    private List<CompareOperator> operators;

    public CompareOperatorGroup() {
        this.setOperators(new ArrayList<CompareOperator>());
    }

    public List<CompareOperator> getOperators() {
        return operators;
    }

    public void setOperators(List<CompareOperator> operators) {
        this.operators = operators;
    }
}
